#{extends 'baseTemplate.html' /}
#{set title:'预算录入->[预算录入]-创建'/}
#{set 'moreStyles'}
<style >
.order-table-detail2 thead tr th {
    background: #e7f5f9;
    border: none;
    font-weight: normal;
    text-align: center;
}
.col-xs-5 span.color666666{
	float:left;
	width:70px;
	padding:4px;
}
.fileshow{
	background-color: #E4E4E4;
    padding: 5px 8px;
}
.ship-add{
	vertical-align:middle;
	background: #f7f7f7;
    height: 58px;
    line-height: 58px;
}
h4.text-right{
	line-height:58px;
}
.col-xs-5 span.color666666{
	width:80px
}
.w70{
	width:67px
}
.table>tbody>tr>td{
	padding-left:4px;
	padding-right:4px;
}
.m-b-10{display:inline-block;float:left;margin-right:10px;}
.bton{ padding-left: 5px; padding-right: 5px; padding-bottom: 5px; padding-top: 5px; }
.v{font-size:12px;font-weight:bold;border-border:1px solid #ddd;padding:8px;margin-top:-16px}
.input_label{float:left;width:60px;line-height:31px}
.m-b-10{display:inline-block;margin-right:10px}
td div.col-xs-12{padding-top:2px;padding-bottom:2px;}
</style>
#{/set}
<!-- 页面主内容 -->
<div ng-controller="controller">
    <div class="clearfix">
        <ol class="breadcrumb pull-left">
            <li><a href="@{BudgetInputController.list()}">预算录入</a></li>
            <li class='blue'>[预算录入]-创建</li>
        </ol>
    </div>
    <div>
    	<div>
		    <table class="table order-table-detail">
		        <tbody>
		            <tr>
		                <th style="width:80px">基本信息</th>
		                <td class="no-border-b">
		                	<div class="col-xs-5">
		                        <span class="color666666">预算形成：</span>
		                         <div class="col-xs-8">
                                    <input type="text" ng-model="item.Shipper" class="form-control ng-pristine ng-untouched ng-valid"  placeholder="预算形成"/>
                                </div>
		                    </div>
		                    <div class="col-xs-5">
		                        <span class="color666666">项目名称：</span>
								<div class="col-xs-8">
                                    <input type="text" ng-model="item.TrafficUnitName" class="form-control ng-pristine ng-untouched ng-valid"  placeholder="项目名称"/>
                                </div>
		                    </div>
		                    <div class="col-xs-5">
		                        <span class="color666666">年度：</span>
		                        <div class="col-xs-8">
                                    <input type="text" ng-model="item.TrafficPerson" class="form-control ng-pristine ng-untouched ng-valid"  placeholder="年度"/>
                                </div>
		                    </div>
		                    <div class="col-xs-5">
		                        <span class="color666666">科目：</span>
								<div class="col-xs-8">
									<input type="hidden" ng-model="item.WareHouseCode" />
        							<div class="input-group"><input type="text" onkeydown="return false;" class="col-xs-2 form-control" placeholder="科目" ng-model="SubjectName"/>
        							<div class="btn input-group-addon btn-sm" ng-click="showSubjectCodeSelectDlg()"><i class="glyphicon glyphicon-search"></i></div></div>
        						</div>
		                    </div>
		                    <div class="col-xs-5">
		                    	<span class="color666666">资金来源：</span>
				        		<select class="col-xs-2 form-control" style="width:190px;margin-left:14px">
				        			<option value="">请选择资金来源</options>
				        			<option value="{{s.SourceCode}}" ng-repeat="s in Sources">{{s.SourceName}}</options>
				        		</select>
				        	</div>
		                    <div class="col-xs-5">
		                        <span class="color666666">金额：</span>
								<div class="col-xs-8">
                                    <input type="text" ng-model="item.TrafficNumber" class="form-control ng-pristine ng-untouched ng-valid"  placeholder="金额"/>
                                </div>
		                    </div>
		                    <div class="col-xs-5">
		                    	<span class="color666666">项目类型：</span>
				        		<select class="col-xs-2 form-control" style="width:190px;margin-left:14px">
				        			<option value="">请选择项目类别</options>
				        			<option value="{{s.ProjectSortCode}}"  ng-repeat="s in ProjectSorts">{{s.ProjectSortName}}</options>
				        		</select>
				        	</div>
		                    <div class="col-xs-5">
		                        <span class="color666666">管理机构：</span>
								<div class="col-xs-8">
        							<div class="input-group"><input type="text" onkeydown="return false;" class="col-xs-2 form-control" placeholder="管理机构" ng-model="ManagerName"/>
        							<div class="btn input-group-addon btn-sm" ng-click="showManagerCodeSelectDlg()"><i class="glyphicon glyphicon-search"></i></div></div>
        						</div>
		                    </div>
		                </td>
		            </tr>
		        </tbody>
		    </table>
		   <br />
		   <div class="order-add">
		        <h4 class="text-right">
		            <a class="btn btn-warning btn-lg m-l-15" href="@{BudgetInputController.list()}">保存</a>
		        </h4>
		    </div>
		</div>
    </div>
     <div id="loading"></div>
</div>			
#{set 'moreScripts'}
<!-- 增加新的脚本文件 -->
<script type="text/javascript" src="@{'/public/javascripts/controllers/BudgetInputController/create.js'}" charset="utf-8"></script>
#{/set}
